Method and apparatus for recognizing service request to change mobile phone number

ABSTRACT

Methods and devices for recognizing a request to change a mobile phone number are disclosed. The exemplary method comprises: when a request to change a mobile phone number sent by a user is received, obtaining corresponding historical transaction record information from a storage unit according to user identification information carried in the request, matching current environment information carried in the request with historical environment information carried in the historical transaction record information; if the current environment information matches the historical environment information, recognizing the request as a trusted request, and executing a service operation to change the mobile phone number.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation application of InternationalPatent Application No. PCT/CN2016/108626, filed on Dec. 6, 2016, whichclaims priority to Chinese Patent Application No. 201510927308.5, filedon Dec. 14, 2015 and entitled “Method and Apparatus for RecognizingService Request to Change Mobile Phone Number,” which is incorporatedherein by reference in its entirety.

TECHNICAL FIELD

The present application relates to the field of computer technologies,and in particular, to methods and apparatuses for recognizing a servicerequest to change a mobile phone number.

BACKGROUND

In existing technologies, when recognizing whether a service request tochange a mobile phone number is genuine, it is often necessary to gothrough several times of interaction with a user. For example, the useris required to input user information, such as a text messageverification code, an I.D. number, an email address, or a securityquestion. The service request is identified to be a trusted servicerequest only after the user information input by the user passesverification, and then a service operation to change the mobile phonenumber is executed. However, the above identification method usuallyrequires a user to memorize different user information, and theverification flow is relatively cumbersome, which leads to a relativelypoor user experience. In addition, multiple interactions with the usercould affect the efficiency of recognizing a service request to change amobile phone number.

SUMMARY

The present disclosure provides a method and a device for recognizing arequest to change a mobile phone number, which can improve the userexperience and the efficiency of recognizing a request to change amobile phone number.

According to one aspect, a method for recognizing a request to change amobile phone number is provided, comprising: receiving a request tochange a mobile phone number sent by a first user, the request carryingidentification information of the first user and current environmentinformation; obtaining at least one piece of corresponding historicaltransaction record information from a storage unit according to theidentification information of the first user, wherein the storage unitis configured to record one or more pieces of the historical transactionrecord information of at least one user with service type informationmeeting a preset condition, and the historical transaction recordinformation comprises historical environment information; determiningwhether the current environment information of the first user matchesthe historical environment information in the at least one piece ofhistorical transaction record information; and if the currentenvironment information matches the historical environment information,recognizing the request as a trusted request, and executing a serviceoperation to change the mobile phone number.

In some embodiments, the environment information comprises one or moretypes of the following information: Internet Protocol (IP) addressinformation of the user, Medium Access Control (MAC) address informationof the user, user equipment-related information, and operating systeminformation of the user. In one example, the user equipment comprises afixed terminal; and the user equipment-related information comprises oneor more of the following: browser type information, browser versioninformation, and MAC address identifier information (umid). In anotherexample, the user equipment comprises a mobile terminal; and the userequipment-related information comprises one or more of the following:International Mobile Equipment Identification Number (IMEI) informationand International Mobile Subscriber Identification Number (IMSI)information.

According to another aspect, a device for recognizing a request tochange a mobile phone number is provided, comprising: a receiving unit,a obtaining unit, a determining unit, and an executing unit; thereceiving unit is configured to receive a request to change a mobilephone number sent by a first user, the request carrying identificationinformation of the first user and current environment information; theobtaining unit is configured to obtain at least one piece ofcorresponding historical transaction record information from a storageunit according to the identification information of the first userreceived by the receiving unit, wherein the storage unit is configuredto record one or more pieces of the historical transaction recordinformation of at least one user with service type information meeting apreset condition, and the historical transaction record informationcomprises historical environment information; the determining unit isconfigured to determine whether the current environment information ofthe first user matches the historical environment information in the atleast one piece of historical transaction record information obtained bythe obtaining unit; and the executing unit is configured to, if thecurrent environment information matches the historical environmentinformation, identify the request as a trusted request, and execute aservice operation to change the mobile phone number.

According to another aspect, a non-transitory computer-readable storagemedium may store instructions that, when executed by a processor, causethe processor to perform a method for recognizing a request to change amobile phone number. The method comprises: receiving a request to changea mobile phone number sent by a first user, the request carryingidentification information of the first user and current environmentinformation; obtaining at least one piece of corresponding historicaltransaction record information from a storage unit according to theidentification information of the first user, wherein the storage unitis configured to record one or more pieces of the historical transactionrecord information of at least one user with service type informationmeeting a preset condition, and the historical transaction recordinformation comprises historical environment information; determiningwhether the current environment information of the first user matchesthe historical environment information in the at least one piece ofhistorical transaction record information; and if the currentenvironment information matches the historical environment information,recognizing the request as a trusted request, and executing a serviceoperation to change the mobile phone number.

According to another aspect, a system for recognizing a request tochange a mobile phone number is disclosed. The system comprises aprocessor and a non-transitory computer-readable storage medium storinginstructions that, when executed by the processor, cause the system toperform a method for recognizing a request to change a mobile phonenumber. The method may comprise: receiving a request to change a mobilephone number sent by a first user, the request carrying identificationinformation of the first user and current environment information;obtaining at least one piece of corresponding historical transactionrecord information from a storage unit according to the identificationinformation of the first user, wherein the storage unit is configured torecord one or more pieces of the historical transaction recordinformation of at least one user with service type information meeting apreset condition, and the historical transaction record informationcomprises historical environment information; determining whether thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information; and if the current environmentinformation matches the historical environment information, recognizingthe request as a trusted request, and executing a service operation tochange the mobile phone number.

With the disclosed method and the device for recognizing a request tochange a mobile phone number, when a request to change a mobile phonenumber sent by a user is received, corresponding historical transactionrecord information is obtained from a storage unit according to useridentification information carried in the request, and currentenvironment information carried in the request is matched withhistorical environment information carried in the historical transactionrecord information. If the current environment information matches thehistorical environment information, the request is identified as atrusted request, and a service operation to change the mobile phonenumber is executed. Therefore, no interaction with the user is neededwhen recognizing a request to change a mobile phone number. Instead,historical transaction record information is obtained from a storageunit, and when current environment information carried in the requestmatches historical environment information carried in the historicaltransaction record information, the request is identified as a trustedservice. As such, the user experience is improved, and the efficiency ofrecognizing a request to change a mobile phone number is improved.

BRIEF DESCRIPTION OF THE DRAWINGS

To more clearly describe technical solutions, the accompanying drawingswill be described briefly below. Apparently, the accompanying drawingsdescribed below are merely exemplary. A person skilled in the art canfurther obtain other drawings according to these drawings withoutinventive effort.

FIG. 1 is a flow chart of a method for recognizing a request to change amobile phone number according to some embodiments of the presentdisclosure.

FIG. 2 is a schematic diagram of creating a storage unit according tosome embodiments of the present disclosure.

FIG. 3 is a flow chart of processing a request to change a mobile phonenumber according to some embodiments of the present disclosure.

FIG. 4 is a schematic diagram of a device for recognizing a request tochange a mobile phone number according to some embodiments of thepresent disclosure.

DETAILED DESCRIPTION

Technical solutions of the present disclosure will be clearly andcompletely described below with reference to the accompanying drawings.Apparently, the embodiments described are some, rather than all, ofembodiments of the present disclosure. All other embodiments obtainableby a person skilled in the art on the basis of the embodiments in thepresent disclosure shall fall within the scope of the presentdisclosure.

The method and the device for recognizing a request (e.g., servicerequest) to change a mobile phone number provided by embodiments of thepresent disclosure are applicable to scenarios where whether a requestto change a mobile phone number is trusted is identified in an Internetsystem. For example, a request to change a mobile phone number in apayment system is identified.

FIG. 1 is a flow chart of a method for recognizing a request to change amobile phone number according to some embodiments of the presentdisclosure. A party that implements the method may comprise an apparatuswith a processing capability, e.g., a server, a system, or a device. Asshown in FIG. 1, the method can comprise:

Step 110, receiving a service request to change a mobile phone numbersent by a first user, the service request carrying identificationinformation of the first user and current environment information.

The current environment information herein can comprise one or moretypes of the following information: Internet Protocol (IP) addressinformation of the user, Medium Access Control (MAC) address informationof the user, user equipment-related information, and operating systeminformation of the user. In some embodiments, when the equipment is afixed terminal, the equipment-related information can comprise one ormore of the follow types: browser type (e.g., IE, chrome, safari)information, browser version information, and MAC address identifierinformation (umid). When the equipment is a mobile terminal (e.g.,various smart phones), the equipment-related information can compriseone or more of the follow types: International Mobile EquipmentIdentification Number (IMEI) information, International MobileSubscriber Identification Number (IMSI) information, and the like. Inaddition, the operating system information can comprise operating systemtype and version information, such as IOS (6, 7.2, 8+), Android (2.3, 3,4.2, 4.4.4, 5+) or Windows Phone.

For example, assuming that the identification information of the firstuser carried in the service request to change a mobile phone number is“0001,” the current environment information comprises the following fourtypes of information: IP address information, MAC address information,browser version information, and operating system version information,and these four types of information are “192.168.1.6,”“00-01-6C-06-A6-29,” “IE7.0,” and “IOS8.0,” respectively.

Step 120, obtaining at least one piece of corresponding historicaltransaction record information from a storage unit according to theidentification information of the first user, wherein the storage unitis configured to record one or more pieces of historical transactionrecord information of at least one user with service type informationmeeting a preset condition, and the historical transaction recordinformation comprises historical environment information.

Optionally, a method of creating a storage unit is shown in FIG. 2.According to FIG. 2, the steps of creating a storage unit comprise thefollows:

Step 1201, collecting multiple pieces of historical transaction recordinformation of at least one user in advance, wherein the historicaltransaction record information comprises service type information.

In FIG. 2, a server can collect multiple pieces of historicaltransaction record information of at least one user in advance frombackend databases of multiple Internet systems (e.g., an Alipay system,a TaoBao system, a Tmall system, and the like). In some embodiments, thehistorical transaction record information of a user can be recorded by aserver when the user conducts transaction operations in an Internetsystem during a preset historical time period. In one example, thecollected multiple pieces of historical transaction record informationof at least one user can be recorded in a data warehouse. In someembodiments, the historical transaction record information of the userrecorded in the data warehouse has not been processed, and therefore isunstructured.

With a service request to change a mobile phone number in an Alipaysystem as an example, the service type information in FIG. 2 cancomprise one or more of the following: mobile phone credit refillrecords, mobile phone records for shipping addresses, records of mobilephone numbers bundled to TaoBao accounts, and terminal log-in records.

In some embodiments, the multiple pieces of historical transactionrecord information of at least one user in the data warehouse above canbe updated in a T+1 manner. Here, T can be 1 day, 1 hour, or the like.For example, if T is 1 day and the server collects historicaltransaction record information of a user on May 5, 2015, then the serverwill update the historical transaction record information of the userinto the data warehouse on May 6, 2015.

Step 1202, for any of the at least one user, selecting, from multiplepieces of the historical transaction record information of the any user,one or more pieces of historical transaction record information withservice type information meeting a preset condition.

In some embodiments, the preset condition can comprise multiple piecesof preset historical transaction record information, and one or morepieces of historical transaction record information that meet the presetcondition comprise preset service type information in the one or morepieces of historical transaction record information.

For example, the historical transaction record information of the anyuser is shown in Table 1.

TABLE 1 User_id Record_id Record_biz_type Other environment information0001 001 1 . . . 0001 002 2 . . . 0001 003 3 . . .

In some embodiments, the field “User_id” is the identificationinformation of users, the field “Record_id” is the record identificationinformation of historical transaction record information of the users(in this example, three pieces of historical transaction recordinformation of the user are collected), and the field “Record_biz_type”is the service type information. Here, assuming that the contents “1,”“2,” and “3” of the field “Record biz type” represent that the servicetype information is “mobile phone credit refill records,” “mobile phonerecords for shipping addresses,” and “terminal log-in records”respectively. When the preset service type information is “mobile phonecredit refill records” and “mobile phone records for shippingaddresses,” the historical transaction record information that meets thepreset condition includes Row 1 and Row 2 of Table 1.

Step 1203, adding a corresponding relation between the any user and theone or more pieces of historical transaction record information withservice type information meeting a preset condition into the storageunit.

As in the example above, adding the corresponding relations between thecontent “0001” of the field “User_id” and the contents “001” and “002”of the field “Record_id” into the storage unit, respectively.

Step 1204, repeating step 1202 to step 1203 until a correspondingrelation between at least one user and one or more pieces of historicaltransaction record information with service type information meeting apreset condition is added into the storage unit.

In one example, the storage unit may be as shown in Table 2.

TABLE 2 User_id Record_id Record_biz_type Other environment information0001 001 1 . . . 0001 002 2 . . . 0002 005 1 . . . 0003 009 2 . . .

Since there are many users to be accounted for in an actual applicationand each user has a huge amount of historical transaction recordinformation, the storage unit stores at least one user, one or morepieces of historical transaction record information with service typeinformation meeting a preset condition of at least one user, and acorresponding relation thereof in a structure shown in Table 3 and Table4 below.

TABLE 3 User_id Record_id Record_mobile Record_date Gmt_createGmt_modified Identificaiton Record Mobile phone Date of a Time of Timeof update information identification number record creation information

TABLE 4 Record_id Record_biz_type Record_ip Record_mac Record_deviceRecord_os Record Service type IP address MAC address Equipment-Operating identification information information information relatedsystem information information information Gmt_create Gmt_modified Timeof Time of update creation

For example, according to the identification information of a user,record identification information in the historical transaction recordinformation of the user identified by the identification information canbe obtained from Table 3, and then the user's IP address information,MAC address information, equipment-related information, and operatingsystem information can be obtained from Table 4 according to theobtained record identification information.

In some embodiments, the field “Record_mobile” in Table 3 can be variedaccording to actual situations in different application scenarios. Forexample, it can be changed to “Record_mail,” i.e., an email address, orit can be changed to “Record_address,” i.e., a regular mailing address.

Returning to the step 120, and it is assumed that the contents of allfields shown in Table 3 in the storage unit are as shown in Table 5.

TABLE 5 User_ Record_ Record_ Record_ Gmt_ Gmt_ id id mobile date createmodified 0001 001 12344001101 2015 Feb. 3 2015 Feb. 4 2015 Feb. 400:00:00 00:00:00 00:00:00 0001 002 15544667733 2015 Mar. 5 2015 Mar. 62015 Mar. 6 00:00:00 00:00:00 00:00:00 0002 005 12222227733 2015 May 52015 May 6 2015 May 6 00:00:00 00:00:00 00:00:00 0003 009 132334577332015 Jun. 5 2015 Jun. 6 2015 Jun. 6 00:00:00 00:00:00 00:00:00

As in the example above, two pieces of historical transaction recordinformation of a user can be obtained according to the user'sidentification information “0001,” and the record identificationinformation of the two pieces of historical transaction recordinformation are “001” and “002” respectively.

For example, it is assumed that the contents of all fields shown inTable 4 in the two pieces of historical transaction record informationwith the record identification information “001” and “002” are as shownin Table 6.

TABLE 6 Record_id 001 002 Record_biz_type 1 2 Record_ip 192.168.1.6192.168.1.6 Record_mac 00-01-6C-06-A6-29 00-01-6C-06-A6-29 Record_deviceIE7.0 IE8.0 Record_os IOS7.2 IOS8.0 Gmt_create 2015 Oct. 1 00:00:00 2015Nov. 1 00:00:00 Gmt_modified 2015 Oct. 1 00:00:00 2015 Nov. 1 00:00:00

Step 130, determining whether the current environment information of thefirst user matches the historical environment information in the atleast one piece of historical transaction record information.

Optionally, the service request to change a mobile phone number in theexample above can further carry a changed mobile phone number.

When the service request to change a mobile phone number carries achanged mobile phone number, the step 130 can further comprise a step offiltering historical environment information, which can reduce thenumber of matching historical environment information, and then canimprove the efficiency of service request identification. The stepcomprises: filtering out historical environment information that doesnot comprise the changed mobile phone number from the at least one pieceof historical transaction record information, and obtaining the filteredat least one piece of historical transaction record information;determining whether the current environment information of the firstuser matches the historical environment information in the filtered atleast one piece of historical transaction record information.

As in the example above, it is assumed that the changed mobile phonenumber carried in the service request to change a mobile phone number is“15544667733,” then the content of the field “Record mobile” in thehistorical transaction record information with record identificationinformation being “001” is not consistent with the changed mobile phonenumber, i.e., the historical transaction record information with recordidentification information being “001” does not include the changedmobile phone number. When this piece of historical transaction recordinformation is filtered, the historical transaction record informationwith record identification information being “002” is obtained. Namely,the current environment information of the first user can be matchedwith the historical environment information in the historicaltransaction record information with record identification informationbeing “002.”

Returning to the step 130, in one example, the step 130 can comprise:

Step 1301, obtaining historical environment information in one piece ofhistorical transaction record information, sequentially comparing eachtype of information in the historical environment information withcorresponding information in the current environment information, andcounting the number of pieces of consistent information according to thecomparison.

For example, the historical environment information in the historicaltransaction record information with record identification information“002” can be obtained. Namely, the contents of the fields “Record_ip,”“Record_mac,” “Record_device,” and “Record_os” for record lines with thefield “Record_id” being “002” in Table 6 are obtained respectively,i.e., “192.168.1.6,” “00-01-6C-06-A6-29,” “IE8.0” and “IOS8.0” areobtained. Subsequently, the four types of information obtained above arecompared with corresponding information in the current environmentinformation received in the step 110, i.e., “192.168.1.6,”“00-01-6C-06-A6-29,” “IE8.0” and “IOS8.0” that have been obtained arecompared with “192.168.1.6,” “00-01-6C-06-A6-29,” “IE7.0” and “IOS8.0”in the current environment information, and the number of those that areconsistent are counted. In this example, there are three that areconsistent, i.e., only the browser version information is notconsistent.

Step 1302, determining a scoring result corresponding to the one pieceof historical transaction record information according to the number ofpieces of consistent information.

In some embodiments, a scoring rule can be preset, and then a scoringresult corresponding to one piece of historical transaction recordinformation can be determined according to the scoring rule. In oneexample where the environment information comprises four types ofinformation, the above preset scoring rule can be that, if allinformation is consistent according to comparison (i.e., all four typesof information are consistent according to comparison), the scoringresult is “9”; if any three types of information are consistentaccording to comparison, the scoring result is “7”; if any two types ofinformation are consistent according to comparison, the scoring resultis “5”; and if any one type of information is consistent according tocomparison, the scoring result is “2.” A priority may be assigned toeach type of information, and the scoring result can be correspondinglyincreased if information with a high priority is consistent according tocomparison. For example, if the IP address information and MAC addressinformation in the environment information are set to have a highpriority, the above scoring result can be “6” when these two types ofinformation are consistent according to comparison.

As shown in the example above, when no priority is set, the scoringresult corresponding to the historical transaction record informationwith record identification information being “002” is “7”, i.e., thenumber of pieces of consistent information according to comparison is 3.

Step 1303, repeating step 1301 to step 1302 until a scoring resultcorresponding to at least one piece of historical transaction recordinformation is determined.

As in the example above, assuming that Table 5 and Table 6 furthercomprise historical transaction record information with recordidentification information “003,” and the content of the field “Recordmobile” in the historical transaction record information is consistentwith the changed mobile phone number, then the historical environmentinformation in the historical transaction record information with recordidentification information “003” can be obtained, and the obtained fourtypes of information are compared with corresponding information in thecurrent environment information received in the step 110, respectively,to determine a scoring result corresponding to the historicaltransaction record information with record identification information“003,” assuming that the scoring result is “5.” Similarly, if there areother pieces of historical transaction record information, scoringresults corresponding to other pieces of historical transaction recordinformation are determined.

Step 1304, determining a total result value according to the determinedscoring result corresponding to at least one piece of historicaltransaction record information.

After a scoring result corresponding to each piece of historicaltransaction record information is determined, the maximum scoring resultcan be used as a total result value. As in the example above, thescoring result corresponding to the historical transaction recordinformation with record identification information “002” can be used asthe total result value. Namely, 7 is used as the total result value.Alternatively, an average or a weighted average of a plurality ofscoring results corresponding to a plurality of pieces of historicaltransaction record information, or a result value according to otheralgorithms, can be used as a total result value.

Step 1305, determining whether the current environment information ofthe first user matches the historical environment information in the atleast one piece of historical transaction record information accordingto the total result value.

In some embodiments, a threshold can be preset. If the total resultvalue is greater than the preset threshold, it is determined that thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information. Otherwise, it is determined that they donot match. As in the example above, assuming that the preset threshold(which can be adjusted according to actual situations) is 2, the totalresult value is 7 when the maximum scoring result is used as the totalresult value. Since 7>2, it can be determined that the currentenvironment information of the first user matches the historicalenvironment information in historical transaction record informationwith record identification information “002” and “003.”

The above step 1301 to step 1305 are merely one implementation manner ofthe present disclosure. In some embodiments, whether the currentenvironment information of the first user matches historical environmentinformation in the at least one piece of historical transaction recordinformation can also be determined in other manners. For example, avalue of similarity degree between the two can be calculated by asimilarity algorithm, and then whether the two are matched can bedetermined according to the value of similarity degree.

Step 140, if the current environment information matches the historicalenvironment information, recognizing the service request as a trustedservice request, and executing a service operation to change the mobilephone number.

As in the example above, a service operation to change the mobile phonenumber can be executed because the two are matched.

In some embodiments, the above step 140 executes the operation when thetwo are matched; if the two are not matched, whether the service requestto change a mobile phone number is a trusted service request can befurther determined through interaction with the user. If it is trusted,the service operation to change the mobile phone number can be executed;if not trusted, the service operation to change the mobile phone numberis rejected.

With the disclosed method for recognizing a service request to change amobile phone number, when a service request to change a mobile phonenumber sent by a user is received, corresponding historical transactionrecord information is obtained from a storage unit according to useridentification information carried in the service request, and currentenvironment information carried in the service request is matched withhistorical environment information carried in the historical transactionrecord information. If the current environment information matches thehistorical environment information, the service request is identified asa trusted service request, and a service operation to change the mobilephone number is executed. As such, the user experience is improved, andthe efficiency of recognizing a service request to change a mobile phonenumber is improved.

How to apply the method for recognizing a service request to change amobile phone number into a software system (e.g., Alipay system) will bedescribed below.

FIG. 3 is a flow chart of processing a request to change a mobile phonenumber according to some embodiments of the present disclosure. As shownin FIG. 3, the method can comprise:

Step 310, receiving a service request to change a mobile phone numbersent by a user, the service request carrying identification informationof the user and current environment information.

In some embodiments, the service request to change a mobile phone numbermay be sent after the user logs in the software system.

Step 320, performing a pre-examination on the information of the useraccording to the identification information of the user; if thepre-examination fails, executing the step 330; otherwise, executing thestep 340.

In some embodiments, the information of the user can comprise a mobilephone number bundled to the user's software system account; the failureof the pre-examination can be because that the mobile phone numberbundled to the user's software system account is not detected.

Step 330, displaying a prompt message to the user.

The prompt message can be used to prompt the user to directly bundle thechanged mobile phone number.

Step 340, switching to a webpage for inputting the changed mobile phonenumber, and receiving the changed mobile phone number input by the user.

Step 350, verifying the changed mobile phone number; if the verificationpasses, executing the step 360; otherwise, executing the step 370.

In some embodiments, verifying the changed mobile phone numbercomprises: verifying whether the changed mobile phone number complieswith the mobile phone number format (e.g., whether it has 11 digits) andwhether the changed mobile phone number has been taken.

Step 360, displaying a first error prompt message to the user, whereinthe first error prompt message can be used to instruct the user tore-enter a correct changed mobile phone number.

Step 370, sending a text message verification code to the changed mobilephone number.

Step 380, receiving and verifying the text message verification codeinput by the user; if the verification fails, executing the step 390;otherwise, executing the step 3100.

Step 390, displaying a second error prompt message to the user, whereinthe second error prompt message can be used to instruct the user tore-enter a correct text message verification code.

Step 3100, obtaining at least one piece of corresponding historicaltransaction record information from a storage unit according to theidentification information of the user.

Step 3110, determining whether the current environment information ofthe first user matches the historical environment information in the atleast one piece of historical transaction record information; if thecurrent environment information matches the historical environmentinformation, executing the step 3120; otherwise, executing the step3130.

Step 3120, executing a service operation to change the mobile phonenumber.

Namely, no interaction with the user is needed according to the presentdisclosure when recognizing a service request to change a mobile phonenumber. Instead, historical transaction record information is obtainedfrom a storage unit, and when current environment information carried inthe service request matches historical environment information carriedin the historical transaction record information, the service request isidentified as a trusted service. As such, the process for changing amobile phone number can be simplified, and the user experience can beimproved.

Step 3130, performing identity verification on the user; if theverification passes, executing the step 140; otherwise, executing thestep 3150.

Step 3140, executing a service operation to change the mobile phonenumber.

Step 3150, displaying a third error prompt message to the user, andcontrolling the number of identity verification on the same user on asingle day.

In some embodiments, in the process for processing a service request tochange a mobile phone number, the software system does not performidentity verification directly on the user when receiving a servicerequest to change a mobile phone number. Instead, the software systemmatches current environment information of the same user with historicalenvironment information in the pre-collected historical transactionrecord information. If the matching is successful, a service operationto change the mobile phone number is directly executed; if the matchingis not successful, identity verification is then performed on the user.In fact, if it is a trusted service request, the changed mobile phonenumber would often be reflected in historical environment information ofthe user. Therefore, the above manner in which a server automaticallyperforms matching can both improve the user experience and improve theefficiency of recognizing a service request to change a mobile phonenumber.

Corresponding to the above method for recognizing a service request tochange a mobile phone number, embodiments of the present disclosurefurther provide a device for recognizing a service request to change amobile phone number. As shown in FIG. 4, the device 400 comprises: areceiving unit 401, an obtaining unit 402, a determining unit 403, andan executing unit 404. The device 400 may be alternatively referred toas a system or an apparatus for recognizing a service request to changea mobile phone number.

The receiving unit 401 is configured to receive a service request tochange a mobile phone number sent by a first user, the service requestcarrying identification information of the first user and currentenvironment information.

In some embodiments, the environment information can comprise one ormore types of the following information: IP address information of theuser, MAC address information of the user, user equipment-relatedinformation, and operating system information of the user.

The obtaining unit 402 is configured to obtain at least one piece ofcorresponding historical transaction record information from a storageunit according to the identification information of the first userreceived by the receiving unit 401, wherein the storage unit isconfigured to record one or more pieces of historical transaction recordinformation of at least one user with service type information meeting apreset condition, and the historical transaction record informationcomprises historical environment information.

The determining unit 403 is configured to determine whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information obtained by the obtaining unit 402.

The determining unit 403 is configured, for example, to: obtainhistorical environment information in one piece of historicaltransaction record information, sequentially compare each type ofinformation in the historical environment information with correspondinginformation in the current environment information, and count the numberof pieces of consistent information according to the comparison;determine a scoring result corresponding to the one piece of historicaltransaction record information according to the number of pieces ofconsistent information; repeatedly execute the above steps of comparisonand determining a scoring result, until a scoring result correspondingto at least one piece of historical transaction record information isdetermined; determine a total result value according to the determinedscoring result corresponding to at least one piece of historicaltransaction record information; determine whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information according to the total result value.

The executing unit 404 is configured to, if the current environmentinformation matches the historical environment information, identify theservice request as a trusted service request, and execute a serviceoperation to change the mobile phone number.

Optionally, the device further comprises: a creating unit 405 configuredto collect multiple pieces of historical transaction record informationof at least one user in advance, wherein the historical transactionrecord information comprises service type information; for any of the atleast one user, select, from multiple pieces of the historicaltransaction record information of the any user, one or more pieces ofhistorical transaction record information with service type informationmeeting a preset condition; add a corresponding relation between the anyuser and the one or more pieces of historical transaction recordinformation with service type information meeting a preset conditioninto the storage unit; repeat the above steps of selecting and adding,until a corresponding relation between at least one user and one or morepieces of historical transaction record information with service typeinformation meeting a preset condition is added into the storage unit.

Optionally, the service request to change a mobile phone number canfurther carry a changed mobile phone number.

The determining unit 403 is further configured, for example, to: filterout historical environment information that does not comprise thechanged mobile phone number from the at least one piece of historicaltransaction record information, and obtain filtered at least one pieceof historical transaction record information; determine whether thecurrent environment information of the first user matches the historicalenvironment information in the filtered at least one piece of historicaltransaction record information.

The various modules and units of the device 400 may be implemented assoftware instructions. That is, the device 400 may comprise a processorand a non-transitory computer-readable storage medium storinginstructions that, when executed by the processor, cause the device 400to perform various steps and methods of the modules and units describedabove. In some embodiments, the device 400 may include a mobile phone, atablet computer, a PC, a laptop computer, a server, etc.

Functions of the various functional modules of the device in theembodiment of the present disclosure can be implemented through thesteps of the above method embodiments. Therefore, the specific workingprocess of the device according to the present disclosure will not berepeated herein.

With the disclosed device for recognizing a service request to change amobile phone number, the receiving unit 401 receives a service requestto change a mobile phone number sent by a first user, the servicerequest carrying identification information of the first user andcurrent environment information. The obtaining unit 402 obtains at leastone piece of corresponding historical transaction record informationfrom a storage unit according to the identification information of thefirst user, wherein the storage unit is configured to record one or morepieces of historical transaction record information of at least one userwith service type information meeting a preset condition, and thehistorical transaction record information comprises historicalenvironment information. The determining unit 403 determines whether thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information. The executing unit 404 identifies, ifthe current environment information matches the historical environmentinformation, the service request as a trusted service request, andexecutes a service operation to change the mobile phone number. As such,the user experience is improved, and the efficiency of recognizing aservice request to change a mobile phone number is improved.

A person skilled in the art should further understand that the objectsand algorithm steps in all examples described with reference to theembodiments disclosed herein can be implemented by electronic hardware,computer software, or a combination of the two. To clearly describe theinterchangeability between hardware and software, compositions and stepsof various examples have been described according to the functions inthe description above. Whether these functions are executed in ahardware manner or a software manner is dependent on particularapplications and design restriction conditions of the technicalsolutions. A person skilled in the art can implement the describedfunctions using a different method for each particular application;however, such implementations shall not be construed to be beyond thescope of the present disclosure.

Steps of the method or algorithm described with reference to theembodiments disclosed herein can be implemented by hardware, softwaremodules executed by a processor, or a combination of the two. Thesoftware modules can be placed in a Read-Only Memory (ROM), anElectrically Programmable Read-Only Memory (EPROM), an ElectricallyErasable Programmable Read-Only Memory (EEPROM), a register, a harddrive, a mobile magnetic disk, a CD-ROM, or a storage medium in anyother form.

The disclosure above further describes the objects, technical solutions,and advantageous effects in detail. The description above is merelyexemplary and is not used to limit the scope of the present disclosure.Any modification, equivalent substitution, and improvement made withinthe spirit and principle of the present disclosure shall fall within thescope of the present disclosure.

What is claimed is:
 1. A method for recognizing a request to change amobile phone number, comprising: receiving a request to change a mobilephone number sent by a first user, the request carrying identificationinformation of the first user and current environment information;obtaining at least one piece of corresponding historical transactionrecord information from a storage unit according to the identificationinformation of the first user, wherein the storage unit is configured torecord one or more pieces of the historical transaction recordinformation of at least one user with service type information meeting apreset condition, and the historical transaction record informationcomprises historical environment information; determining whether thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information; and if the current environmentinformation matches the historical environment information, recognizingthe request as a trusted request, and executing a service operation tochange the mobile phone number.
 2. The method according to claim 1,wherein: the request to change a mobile phone number further comprises achanged mobile phone number; and the determining whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information comprises: filtering out historicalenvironment information that does not comprise the changed mobile phonenumber from the at least one piece of historical transaction recordinformation, and obtaining the filtered at least one piece of historicaltransaction record information; and determining whether the currentenvironment information of the first user matches the historicalenvironment information in the filtered at least one piece of historicaltransaction record information.
 3. The method according to claim 1,wherein the storage unit is created by: collecting multiple pieces ofthe historical transaction record information of the at least one user,wherein the historical transaction record information comprises servicetype information; for any of the at least one user, selecting, frommultiple pieces of the historical transaction record information of theany user, one or more pieces of historical transaction recordinformation with service type information meeting a preset condition;adding a corresponding relation between the any user and the one or morepieces of historical transaction record information with service typeinformation meeting a preset condition into the storage unit; andrepeating the above steps of selecting and adding, until a correspondingrelation between the at least one user and the one or more pieces ofhistorical transaction record information with service type informationmeeting the preset condition is added into the storage unit.
 4. Themethod according to claim 1, wherein the environment informationcomprises one or more types of the following information: InternetProtocol (IP) address information of the user, Medium Access Control(MAC) address information of the user, user equipment-relatedinformation, and operating system information of the user.
 5. The methodaccording to claim 4, wherein: the user equipment comprises a fixedterminal; and the user equipment-related information comprises one ormore of the following: browser type information, browser versioninformation, and MAC address identifier information (umid).
 6. Themethod according to claim 4, wherein: the user equipment comprises amobile terminal; and the user equipment-related information comprisesone or more of the following: International Mobile EquipmentIdentification Number (IMEI) information and International MobileSubscriber Identification Number (IMSI) information.
 7. The methodaccording to claim 4, wherein the determining whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information comprises: obtaining the historicalenvironment information in one piece of the historical transactionrecord information, sequentially comparing each type of information inthe historical environment information with corresponding information inthe current environment information, and counting a number of pieces ofconsistent information according to the comparison; determining ascoring result corresponding to the one piece of historical transactionrecord information according to the number of pieces of consistentinformation; repeatedly executing the above steps of comparison anddetermining the scoring result, until a scoring result corresponding tothe at least one piece of historical transaction record information isdetermined; determining a total result value according to the determinedscoring result corresponding to the at least one piece of historicaltransaction record information; and determining whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information according to the total result value.
 8. Anon-transitory computer-readable storage medium storing instructionsthat, when executed by a processor, cause the processor to perform amethod for recognizing a request to change a mobile phone number, themethod comprising: receiving a request to change a mobile phone numbersent by a first user, the request carrying identification information ofthe first user and current environment information; obtaining at leastone piece of corresponding historical transaction record informationfrom a storage unit according to the identification information of thefirst user, wherein the storage unit is configured to record one or morepieces of the historical transaction record information of at least oneuser with service type information meeting a preset condition, and thehistorical transaction record information comprises historicalenvironment information; determining whether the current environmentinformation of the first user matches the historical environmentinformation in the at least one piece of historical transaction recordinformation; and if the current environment information matches thehistorical environment information, recognizing the request as a trustedrequest, and executing a service operation to change the mobile phonenumber.
 9. The non-transitory computer-readable storage medium accordingto claim 8, wherein: the request to change a mobile phone number furthercomprises a changed mobile phone number; and the determining whether thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information comprises: filtering out historicalenvironment information that does not comprise the changed mobile phonenumber from the at least one piece of historical transaction recordinformation, and obtaining the filtered at least one piece of historicaltransaction record information; and determining whether the currentenvironment information of the first user matches the historicalenvironment information in the filtered at least one piece of historicaltransaction record information.
 10. The non-transitory computer-readablestorage medium according to claim 8, wherein the storage unit is createdby: collecting multiple pieces of the historical transaction recordinformation of the at least one user, wherein the historical transactionrecord information comprises service type information; for any of the atleast one user, selecting, from multiple pieces of the historicaltransaction record information of the any user, one or more pieces ofhistorical transaction record information with service type informationmeeting a preset condition; adding a corresponding relation between theany user and the one or more pieces of historical transaction recordinformation with service type information meeting a preset conditioninto the storage unit; and repeating the above steps of selecting andadding, until a corresponding relation between the at least one user andthe one or more pieces of historical transaction record information withservice type information meeting the preset condition is added into thestorage unit.
 11. The non-transitory computer-readable storage mediumaccording to claim 8, wherein the environment information comprises oneor more types of the following information: Internet Protocol (IP)address information of the user, Medium Access Control (MAC) addressinformation of the user, user equipment-related information, andoperating system information of the user.
 12. The non-transitorycomputer-readable storage medium according to claim 11, wherein: theuser equipment comprises a fixed terminal; and the userequipment-related information comprises one or more of the following:browser type information, browser version information, and MAC addressidentifier information (umid).
 13. The non-transitory computer-readablestorage medium according to claim 11, wherein: the user equipmentcomprises a mobile terminal; and the user equipment-related informationcomprises one or more of the following: International Mobile EquipmentIdentification Number (IMEI) information and International MobileSubscriber Identification Number (IMSI) information.
 14. Thenon-transitory computer-readable storage medium according to claim 11,wherein the determining whether the current environment information ofthe first user matches the historical environment information in the atleast one piece of historical transaction record information comprises:obtaining the historical environment information in one piece of thehistorical transaction record information, sequentially comparing eachtype of information in the historical environment information withcorresponding information in the current environment information, andcounting a number of pieces of consistent information according to thecomparison; determining a scoring result corresponding to the one pieceof historical transaction record information according to the number ofpieces of consistent information; repeatedly executing the above stepsof comparison and determining the scoring result, until a scoring resultcorresponding to the at least one piece of historical transaction recordinformation is determined; determining a total result value according tothe determined scoring result corresponding to the at least one piece ofhistorical transaction record information; and determining whether thecurrent environment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information according to the total result value. 15.A system for recognizing a request to change a mobile phone number, thesystem comprising a processor and a non-transitory computer-readablestorage medium storing instructions that, when executed by theprocessor, cause the system to perform a method for recognizing arequest to change a mobile phone number, the method comprising:receiving a request to change a mobile phone number sent by a firstuser, the request carrying identification information of the first userand current environment information; obtaining at least one piece ofcorresponding historical transaction record information from a storageunit according to the identification information of the first user,wherein the storage unit is configured to record one or more pieces ofthe historical transaction record information of at least one user withservice type information meeting a preset condition, and the historicaltransaction record information comprises historical environmentinformation; determining whether the current environment information ofthe first user matches the historical environment information in the atleast one piece of historical transaction record information; and if thecurrent environment information matches the historical environmentinformation, recognizing the request as a trusted request, and executinga service operation to change the mobile phone number.
 16. The systemaccording to claim 15, wherein: the request to change a mobile phonenumber further comprises a changed mobile phone number; and thedetermining whether the current environment information of the firstuser matches the historical environment information in the at least onepiece of historical transaction record information comprises: filteringout historical environment information that does not comprise thechanged mobile phone number from the at least one piece of historicaltransaction record information, and obtaining the filtered at least onepiece of historical transaction record information; and determiningwhether the current environment information of the first user matchesthe historical environment information in the filtered at least onepiece of historical transaction record information.
 17. The systemaccording to claim 15, wherein the storage unit is created by:collecting multiple pieces of the historical transaction recordinformation of the at least one user, wherein the historical transactionrecord information comprises service type information; for any of the atleast one user, selecting, from multiple pieces of the historicaltransaction record information of the any user, one or more pieces ofhistorical transaction record information with service type informationmeeting a preset condition; adding a corresponding relation between theany user and the one or more pieces of historical transaction recordinformation with service type information meeting a preset conditioninto the storage unit; and repeating the above steps of selecting andadding, until a corresponding relation between the at least one user andthe one or more pieces of historical transaction record information withservice type information meeting the preset condition is added into thestorage unit.
 18. The system according to claim 15, wherein theenvironment information comprises one or more types of the followinginformation: Internet Protocol (IP) address information of the user,Medium Access Control (MAC) address information of the user, userequipment-related information, and operating system information of theuser.
 19. The system according to claim 18, wherein: the user equipmentcomprises a mobile terminal; and the user equipment-related informationcomprises one or more of the following: International Mobile EquipmentIdentification Number (IMEI) information and International MobileSubscriber Identification Number (IMSI) information.
 20. The systemaccording to claim 15, wherein the determining whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information comprises: obtaining the historicalenvironment information in one piece of the historical transactionrecord information, sequentially comparing each type of information inthe historical environment information with corresponding information inthe current environment information, and counting a number of pieces ofconsistent information according to the comparison; determining ascoring result corresponding to the one piece of historical transactionrecord information according to the number of pieces of consistentinformation; repeatedly executing the above steps of comparison anddetermining the scoring result, until a scoring result corresponding tothe at least one piece of historical transaction record information isdetermined; determining a total result value according to the determinedscoring result corresponding to the at least one piece of historicaltransaction record information; and determining whether the currentenvironment information of the first user matches the historicalenvironment information in the at least one piece of historicaltransaction record information according to the total result value.